<div class="container">
    <div class="tehui-col goodlist">
        <div class="body row" id="txbody">
            <?php foreach ($home_goods as $good): ?>
               <?php include $this->getViewFile('../lib/nohfgoodlist'); ?>
            <?php endforeach; ?>
        </div>
        <div class="clearfix"></div>
        <div class="pager" id="pager_web"><?php echo $web_pages;?></div>
        <div class="pager" id="pager">
            <?php
//            $this->widget('CLinkPager', array(
//                'header' =>"",
//                'firstPageLabel' => '首页',
//                'lastPageLabel' => '末页',
//                'prevPageLabel' => '上一页',
//                'nextPageLabel' => '下一页',
//                'pages' => $pages,
//                'footer' => "<span>共<em>{$pages->pageCount}</em>页</span>",
//                'maxButtonCount' => 8
//                    )
//            );
echo $pages; 
            ?>
        </div>
    </div>
</div>